package com.ojoin.trade.t0loan_core.web.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ojoin.trade.common.utils.json.selfDefineMaskSerializer;


/**
 * 银行卡
 * @author huanggc
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BankCard {
	
	private String cardId;
	
	@JsonSerialize(using = selfDefineMaskSerializer.class)  
	private String cardNo;
	
	private boolean isPulbicAccountNo;
	
	private String bankName;
	
	private String cardProvince;
	
	private String cardCity;
	
	private String branchNo;
	
	@JsonIgnore
	private String phone;
	
	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}


	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getCardProvince() {
		return cardProvince;
	}

	public void setCardProvince(String cardProvince) {
		this.cardProvince = cardProvince;
	}

	public String getCardCity() {
		return cardCity;
	}

	public void setCardCity(String cardCity) {
		this.cardCity = cardCity;
	}

	public String getBranchNo() {
		return branchNo;
	}

	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	public boolean isPulbicAccountNo() {
		return isPulbicAccountNo;
	}

	public void setPulbicAccountNo(boolean isPulbicAccountNo) {
		this.isPulbicAccountNo = isPulbicAccountNo;
	}
	
	
}
